package com.example.friend.service.user;

import com.example.common.core.domain.Result;
import com.example.common.core.domain.vo.LoginUserVO;
import com.example.friend.domain.user.dto.UserDTO;
import com.example.friend.domain.user.dto.UserUpdateDTO;
import com.example.friend.domain.user.vo.UserVO;


public interface IUserService {
    public boolean sendCode(UserDTO userDTO);

    public String codeLogin(UserDTO userDTO);

    public boolean logout(String token);

    public Result<LoginUserVO> info(String token);

    public UserVO detail();

    public Integer edit(UserUpdateDTO userUpdateDTO);

    public Integer updateHeadImage(String headImage);
}
